package com.xiaohu.myspace.buiness.buinessinterface;

import java.util.List;

import com.xiaohu.myspace.database.entity.MessageInfo;
import com.xiaohu.myspace.vo.MessageInfoVo;

public interface MessageInfoInterface {
    public List<MessageInfoVo> getMessageInfoWithHQL(int messageType,int pageNum);
    public boolean addMessage(MessageInfo messageInfo);
    public boolean deleteMessage(MessageInfo messageInfo);
    public boolean updateMessage(MessageInfo messageInfo);
    public MessageInfo findMessageWithMessageId(int messageId);
}
